home *** CD-ROM | disk | FTP | other *** search
/ Amiga Packmags / NewsFlash - Issue 07 (1990-01)(UGA - 17-Bit Software)(Disk 1 of 2)[a intro].zip / NewsFlash - Issue 07 (1990-01)(UGA - 17-Bit Software)(Disk 1 of 2)[a intro].adf / prog / choppie.doc < prev    next >
Text File  |  1996-12-24  |  6KB  |  240 lines

  1.                       -----------------
  2.                       Font Chopper V1.0
  3.                           by VECTOR
  4.                       -----------------
  5.  
  6.  
  7. Message to all SEKA freaks: SEKA is shit, DEVPAC is it !
  8. DEVPAC 2.14 ofcourse (1.0 is shit)
  9. ---------------------------------------------------------------------------
  10.  
  11. RUNNING IT
  12.  
  13. When you start the font-chopper, you'll be asked for the name of a
  14. font-picture. The font-picture contains the font-data in a grid.
  15. (An example grid is suplied on this disk too.) This picture MUST
  16. be compressed. (DPaint saves always compressed) The program will
  17. notify you when it's not.
  18. The next thing to do is to fill in the name of the fontdata
  19.  
  20. After this you'll have to enter some information about the font itself.
  21. (Width and height)
  22.  
  23. Now the program will ask you, how much characters you have placed horz.
  24. and how much you have placed vert.
  25.  
  26. Next is the amount of datas you want to cut out.
  27.  
  28. ---------------------------------------------------------------------------
  29. After all this text an example :
  30.  
  31. You draw a font in a grid, which looks like this
  32.  
  33.   |--- 3 words width ---|
  34.  
  35.  +-----------------------+-----------------------+ <-+
  36.  |                       |                       |   |          -
  37.  |                       |                       |  one pixel   |
  38.  |                       |                       |    high      |
  39.  |                       |                       |              | 48 pixels
  40.  |                       |                       |              |  high
  41.  |          A            |           B           |              |
  42.  |                       |                       |              |
  43.  |                       |                       |              |
  44.  |                       |                       |              |
  45.  |                       |                       |              -
  46.  +-----------------------+-----------------------+ <-+
  47.  |                       |                       |   |
  48.  |                       |                       |  one pixel
  49.  |                       |                       |     high
  50.  |                       |                       |
  51.  |                       |                       |
  52.  |          C            |        NOTHING        |
  53.  |                       |                       |
  54.  |                       |                       |
  55.  |                       |                       |
  56.  |                       |                       |
  57.  +-----------------------+-----------------------+
  58.  
  59.  ^                       ^
  60.  +--- one pixel widht ---+  
  61.  
  62.  
  63. The grid MUST start in the upper-left corner of the screen.
  64.  
  65. Let's say your 3 plane font-picture is called 'font'
  66. and you want to save it as 'font.data'
  67. and you only want to use tree letters.
  68.  
  69. You would have to type in:
  70.  
  71. 1> FC
  72.  
  73. Font chopper V1.0
  74. By Vector of Mirage
  75.  
  76. Name of font-picture  :df0:font
  77. Save Font data as     :df0:font.data
  78. Font width (words)    :3
  79. Font height           :48
  80. Number of char horz.  :2
  81. Number of char vert.  :2
  82. Total number of char. :3
  83.  
  84. Operation completed.
  85. 1>
  86.  
  87.  
  88. Now follows a short passage from the TMT-DOC, because the
  89. TextConverter was one of the reasons I wrote the font-chopper.
  90.  
  91. TMT and the Font Chopper should be on one disk.
  92.  
  93. ---------------------------------------------------------------------------
  94. The textconverter:
  95.  
  96.  
  97. WHY?
  98.  
  99. The textconverter was written to reduce the fontdata to a minimum.
  100. The textconverter converts ASCII text directly into fontpositions.
  101. The only thing you have to do is, get a byte, multiply it with your
  102. fontsize and add it to your fontbase. You now have a pointer to character.
  103. No messing around with modulos or such things. Another advantage :
  104. No more text ripping. All text is unreadable.
  105.  
  106. HOW?
  107.  
  108. Converting is nice, but what stands were ?
  109. Well here is the list :
  110.  
  111. Character:    ASCII-code:    Converted code:
  112. ----------    -----------    ---------------
  113. SPACE    $20    $00
  114. !    $21    $01
  115. "    $22    $02
  116. &    $26    $03
  117. '    $27    $04
  118. (    $28    $05
  119. )    $29    $06
  120. ,    $2C    $07
  121. -    $2D    $08
  122. .    $2E    $09
  123. :    $3A    $0A
  124. ?    $3F    $0B
  125. A    $41    $0C
  126. B    $42    $0D
  127. C    $43    $0E
  128. D    $44    $0F
  129. E    $45    $10
  130. F    $46    $11
  131. G    $47    $12
  132. H    $48    $13
  133. I    $49    $14
  134. J    $4A    $15
  135. K    $4B    $16
  136. L    $4C    $17
  137. M    $4D    $18
  138. N    $4E    $19
  139. O    $4F    $1A
  140. P    $50    $1B
  141. Q    $51    $1C
  142. R    $52    $1D
  143. S    $53    $1E
  144. T    $54    $1F
  145. U    $55    $20
  146. V    $56    $21
  147. W    $57    $22
  148. X    $58    $23
  149. Y    $59    $24
  150. Z    $5A    $25
  151. 0    $30    $26
  152. 1    $31    $27
  153. 2    $32    $28
  154. 3    $33    $29
  155. 4    $34    $2A
  156. 5    $35    $2B
  157. 6    $36    $2C
  158. 7    $37    $2D
  159. 8    $38    $2E
  160. 9    $39    $2F
  161. a    $61    $30
  162. b    $62    $31
  163. c    $63    $32
  164. d    $64    $33
  165. e    $65    $34
  166. f    $66    $35
  167. g    $67    $36
  168. h    $68    $37
  169. i    $69    $38
  170. j    $6A    $39
  171. k    $6B    $3A
  172. l    $6C    $3B
  173. m    $6D    $3C
  174. n    $6E    $3D
  175. o    $6F    $3E
  176. p    $70    $3F
  177. q    $71    $40
  178. r    $72    $41
  179. s    $73    $42
  180. t    $74    $43
  181. u    $75    $44
  182. v    $76    $45
  183. w    $77    $46
  184. x    $78    $47
  185. y    $79    $48
  186. z    $7A    $49
  187.  
  188.  
  189. So that was the list. The lower-case is handy for funny objects or so.
  190. If you want to include speed-codes or other codes in your text, then
  191. just type $ follow by and HEX code. This code will be directly converted
  192. into source.
  193.  
  194. Example :
  195. 'AAA $F5 AAA' would be converted to:
  196.  
  197. DC.B    $0C,$0C,$0C,$00,$F5,$00,$0C,$0C,$0C
  198.  
  199.  
  200. Your font-data MUST be saved in the order of the list.
  201. That means:
  202.  
  203. First 'SPACE' then '!' etc.
  204.  
  205. I hope that you'll find this option usefull.
  206.  
  207. ---------------------------------------------------------------------------
  208.  
  209. GENERAL INFORMATION
  210.  
  211.  
  212. Program name   : Font Chopper
  213. Version        : 1.0
  214. Last update    : 1 Jan 1990
  215. Language       : Assembler
  216. Assembled with : DevPac 2.14  (There is no better one !)
  217. Written by     : VECTOR of Mirage Holland
  218.  
  219. ---------------------------------------------------------------------------
  220. For bug-reports, new ideas , updates, etc.
  221.  
  222. Write to:
  223.  
  224.        P. de Boer
  225.        Zeeloodsenlaan 79
  226.        1785 BM  Den Helder
  227.        Holland
  228.  
  229.  
  230. This program may be freely copied, but you have to include the DOC file.
  231.  
  232.  
  233.                    SPREAD THE DISK AND THE WORD !
  234.  
  235.  
  236.                MIRAGE BEYOND THE LIMITS OF PERFECTION
  237.               ========================================
  238.  
  239.